package com.learn.spring5;

/**
 * 
* @ClassName: Book  
* @Description: set方法注入  
* @author myande  
* @date 2021年4月22日  
*
 */
public class Book
{
	private String bname;
	private String bauthor;

	public void setBname(String bname)
	{
		this.bname = bname;
	}

	public void setBauthor(String bauthor)
	{
		this.bauthor = bauthor;
	}

	public void bookTest()
	{
		System.out.println(bname + ":" + bauthor);
	}
}
